import { createStore } from "vuex"

const store = createStore({
    state() {
        return {
            news: [
                {
                    "id": 1,
                    "title": "免费？其实是电诈的开头！",
                    "author": "国家反诈中心",
                    "time": "2023-12-21",
                    "img": "https://ts1.cn.mm.bing.net/th/id/R-C.251270ba47f7e2a183e7a59eaedff130?rik=fO2OvIlfZ2ltDA&riu=http%3a%2f%2fwww.sznews.com%2fnews%2fpic%2f2021-03%2f19%2f2dcbabf8-0acd-463c-8b9e-8d263761e96c.jpg&ehk=d2OzGX8BCpwtqceMf%2b8l9CcXAIeNnH6usFSks%2bwia2g%3d&risl=&pid=ImgRaw&r=0",
                },
                {
                    "id": 2,
                    "title": "【反诈这一年】2023年1至11月破案39.1万起 8月以来法案数连续下降",
                    "author": "国家反诈中心",
                    "time": "2024-01-05",
                    "img": "https://ts1.cn.mm.bing.net/th/id/R-C.ed82b332a18263445a386860bce0cb6e?rik=vkA54avr8AWuJQ&riu=http%3a%2f%2fwww.chinapeace.gov.cn%2fchinapeace%2fc100007%2f2020-06%2f18%2f12362465%2fimages%2f05ccb30976a240feb0df36985183d8f3.jpg&ehk=fd35slnagASc5wYqcsAdYi7yY4JJaEGI1hiNtY2fdl4%3d&risl=&pid=ImgRaw&r=0"
                },
                {
                    "id": 3,
                    "title": "“日进斗金” 背后的代价！",
                    "author": "国家反诈中心",
                    "time": "2024-01-04",
                    "img": "https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2023%2F1117%2F7bdb8ba7j00s4988700d3c000u000e6m.jpg&thumbnail=660x2147483647&quality=80&type=jpg"
                },
                {
                    "id": 4,
                    "title": "赚大钱？缴税提现？谨防虚假投资理财类诈骗",
                    "author": "国家反诈中心",
                    "time": "2024-01-03",
                    "img": "https://p2.itc.cn/q_70/images03/20231225/45d7274a63e548139b1912399fe86624.png"
                },
                {
                    "id": 5,
                    "title": "交钱就能减刑？民警怒怼骗子————别装了！",
                    "author": "国家反诈中心",
                    "time": "2024-01-03",
                    "img": "https://imgm.gmw.cn/attachement/jpg/site215/20231215/5009875510665655531.jpg"
                },
                {
                    "id": 6,
                    "title": "“军警人员”采购物资？小心是诈骗！",
                    "author": "国家反诈中心",
                    "time": "2024-01-03",
                    "img": "https://imagepphcloud.thepaper.cn/pph/image/249/324/935.jpg"
                },
                {
                    "id": 7,
                    "title": "警惕冒充金融机构名义实施的诈骗",
                    "author": "国家反诈中心",
                    "time": "2024-01-03",
                    "img": "https://tse2-mm.cn.bing.net/th/id/OIP-C.hcow1uuLgyfhqFn3FX0b0QHaFq?rs=1&pid=ImgDetMain"
                }
            ]
        }
    }
})

export default store
